package com.zzyl.service;

import cn.hutool.db.PageResult;
import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;


public interface NursingProjectService {

    PageResponse<NursingProjectVo> query(String name, Integer status,
                                         Integer pageNum, Integer pageSize);

    /**
     * 新增护理项目
     *
     * @param nursingProjectDTO 护理项目数据传输对象
     * @return 新增是否成功
     */
    Boolean add(NursingProjectDto nursingProjectDTO);

    ResponseResult<NursingProjectVo> selectById(Integer id);

    ResponseResult deleteById(Integer id);

    ResponseResult updateStatus(Integer id, Integer status);

    ResponseResult updateInfo(NursingProjectDto nursingProjectDTO);

    ResponseResult listAll();

}
